﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cinema;
using matrixdotnet.Common;

namespace ConsoleTest
{
    class Program
    {
        static void Main(string[] args)
        {
            ByTypeRegistry registry = new ByTypeRegistry();

            // CommonLib.IBusinessEntityFinder`2[Cinema.FilmUniqueKey,Cinema.IFilm]
            IBusinessEntityFinder<FilmUniqueKey, IFilm> finder = registry.GetObject<IBusinessEntityFinder<FilmUniqueKey, IFilm>>();

            Console.WriteLine("That's it");
        }
    }
}
